<%= simple_form_for(@article, :remote => true, :html => { :multipart => true, :class => "well form-horizontal"}) do |f| %>
  <%= render 'shared/errors', :target => @article %>
  <%= f.file_field :picture %>
  <%= f.input :name %>
  <%= f.input :description %>
  <%= f.input :prize %>
  <%= f.input :category_id, :collection => Category.all, :value_method => :id, :label_method => :name %>

  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>


